<?php

class FacturasProducto extends AppModel {
    public $name = 'FacturasProducto';
    public $belongsTo = array(
        'Factura' => array(
            'className' => 'Factura',
            'foreignKey' => 'factura_id',
            'conditions' => '',
            'fields' => '',
            'order' => ''
        ),
        'Producto' => array(
            'className' => 'Producto',
            'foreignKey' => 'producto_id',
            'conditions' => '',
            'fields' => '',
            'order' => ''
        )
    );
}

?>